﻿Follow the below example to make your mod compatible with MM (Mod Menu.)



void main()
{
	reset_globals();
	while (true)
	{
		// Please remove your default keybind used to launch any menus.
		// Whatever function was called should be moved into loadUI() below.

		update_features();
		WAIT(0);
	}
}

extern "C"{_declspec(dllexport) void __stdcall loadUI()
{
	process_main_menu();
	// Change this line to whatever function draws your UI.
	// The example here is that of Native Trainer.
}}

extern "C"{_declspec(dllexport) LPCSTR __stdcall getModName(){
	return "YOUR MOD'S NAME";
	// Obviously, change the text to your mod's name. 
	// This is displayed in Mod Menu's graphical menu.
	// Please use 32 characters or fewer.
}}